import service from "@/utils/request";

const alarmApi = {
  // 报警列表
  alarmList(data) {
    return service.get("alarm/page", { params: data });
  },
  alarmDetail(data) {
    return service.get("alarm", { params: data });
  },
 
  //报警信息操作
  alarmOperator(data) {
    return service.put("alarm/alarmOperate", data);
  },

  //报警信息操作
  setCallState(data) {
    return service.put("alarm/setCallState", data);
  },
  
};

export default alarmApi;
